﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using LinqObj;

/// <summary>
/// Summary description for Agent_Group
/// </summary>
/// 
namespace LinqObj
{
    public partial class Agent_Group
    {
        private static ToolboxDataContext _context = new ToolboxDataContext();

        public static Agent_Group GetAgentGroup(int agentGroupID)
        {
            return (from a in _context.Agent_Groups
                    where a.agent_group_id == agentGroupID
                    select a).SingleOrDefault();
        }
    }
}
